package homework.ooday01._cp;

public class StudentTest {
    public static void main(String[] args) {
        Student stu1 = new Student();
        stu1.name = "张三";
        stu1.age = 10;
        stu1.className = "2203";
        stu1.stuId = "789";
        stu1.study();
        stu1.sayHi();
        stu1.playWith("2号");

        Student stu2 = new Student();
        stu2.name = "李四";
        stu2.age = 20;
        stu2.className = "2204";
        stu2.stuId = "456";
        stu2.study();
        stu2.sayHi();
        stu2.playWith("9号");

        Student stu3 = new Student();
        stu3.study();
        stu3.sayHi();
        stu3.playWith("100号");
    }
}
